from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^mobiles/(?P<mobile>1[3-9]\d{9})/count/$', views.Mobile.as_view()),
    url(r'^api/v1.0/user/register/$',views.RegisterView.as_view()),
    url(r'^api/v1.0/login/$',views.LoginView.as_view()),
    url(r'^api/v1.0/logout/$', views.LogoutView.as_view()),
    url(r'^api/v1.0/session/$',views.Getsession.as_view()),
    url(r'^api/v1.0/user/profile/$', views.UserInfoView.as_view()),
    url(r'^api/v1.0/user/avatar/$', views.Photo.as_view()),
    url(r'^api/v1.0/user/auth/$', views.Auth.as_view()),

]